function collect_same_elements(collection_a, collection_b) {
  //在这里写入代码
  let arr=new Array();
  let collectionC=new Array();
  arr=collection_b[0];
  for(let i of collection_a)
  
  for(let j of arr){
  if(i==j)
  collectionC.push(i);
  }
  return collectionC;
}

module.exports = collect_same_elements;
